<%@ Page Language="C#" AutoEventWireup="true" Inherits="Documentation_WebControls_Others" Codebehind="Others.aspx.cs" %>

<%@ Register Assembly="Pampa.WebControls" Namespace="Pampa.WebControls" TagPrefix="cc1" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="../../Css/Layout.css" rel="stylesheet" type="text/css"/>            
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <span class="title">Client Buttons</span>    
        <br />
        <br />
                
        Buttons in Pampa.Net are like standard buttons but those does not refresh the page in the click event.
        Instead of this you can defined the JavaScript method you want to execute in the property "MethodName".
        Using Ajax you could call to the server side if you need that.
        Along the framework there are several client button with particular behaviors as: open a floating window, save an entity, open the configuration of a list, etc.
        <br />
        <br />
        <cc1:ClientButton ID="ClientButton1" runat="server" Height="33px" Width="94px" MethodName="alert('click')"/>
        <br />
        <br />
        <br />
        
        <span class="title">Validator</span>          
        <br />
        <br />
        This control is another implementation of client validation. The difference between
        this and the built in ASP.Net validation components is that it works with Pampa
        Web Controls and also you could add and remove validations dynamically from the
        client side. Validation support in Pampa.CRUD is managed by this control.&nbsp;</div>
    </form>
</body>
</html>
